﻿-- =============================================
-- LoadEntityTypes.sql
-- =============================================
DECLARE	@return_value int,
		@ID uniqueidentifier

EXEC	@return_value = [ServiceEngine].[CreateRuntimeServer]
		@Name = N'LocalRS',
		@Description = N'Preconfigured Local Runtime Server ',
		@CatalogURI = N'net.pipe://localhost/ServiceCatalog/Pipe',
		@CatalogBindingID = '00000000-0000-0000-0000-b00000000005',
		@NotificationURI = N'net.pipe://localhost/SCEvents',
		@NotificationBindingID = '00000000-0000-0000-0000-b00000000005',
		@BrokerURI = NULL,
		@BrokerBindingID = NULL,
		@ListenerURI = NULL,
		@ListenerBindingID = NULL,
		@HostName = N'localhost',
		@PolicyID = NULL,
		@ID = @ID OUTPUT,
		@ReceiveNotifications = 1

SELECT	@ID as N'@ID'